package cn.tedu.zx.product.webapi.ex;

import lombok.Getter;

public class ServiceException extends RuntimeException{
    @Getter
    private ServiceCode serviceCode;
    public ServiceException(ServiceCode serviceCode, String message) {
        super(message);
        this.serviceCode = serviceCode;
    }

//    @Override
//    protected void finalize() throws Throwable {
//        super.finalize();
//    }
}

